翻訳と辞書
Words near each other
・ Formula 4 Sudamericana
・ Formula 409
・ Formula 4S Powerboat World Championship
・ Formula 500
・ Formula 5000
・ Formula 750
・ Formula Abarth
・ Formula Acceleration 1
・ Formula AE
・ Formula Alfa
・ Formula Asia
・ Formula Atlantic
・ Formula BMW
・ Formula C
・ Formula C (SCCA)
Formula calculator
・ Formula Car Challenge
・ Formula Challenge Japan
・ Formula Chrysler Euroseries
・ Formula Comitis Archiatrorum
・ Formula composition
・ Formula Continental
・ Formula Crane 45
・ Formula D
・ Formula D (board game)
・ Formula Dream
・ Formula E
・ Formula E (disambiguation)
・ Formula e pagëzimit
・ Formula Easter


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Formula calculator : ウィキペディア英語版
Formula calculator
A formula calculator is a software calculator that can perform a calculation in two steps:
# Enter the calculation by typing it in from the keyboard.
# Press a single button or key to see the final result.
This is unlike button-operated calculators, such as the Windows calculator or the Mac OS X calculator, which require the user to perform one step for each operation, by pressing buttons to calculate all the intermediate values, before the final result is shown.
In this context, a formula is also known as an expression, and so formula calculators may be called ''expression'' calculators. Also in this context, calculation is known as ''evaluation'', and so they may be called formula ''evaluators'', rather than ''calculators''.
== How they work ==

Formulas as they are commonly written use infix notation for binary operators, such as addition, multiplication, division and subtraction. This notation also uses:
* Parentheses to enclose parts of a formula that must be calculated first.
* In the absence of parentheses, operator precedence, so that higher precedence operators, such as multiplication, must be applied before lower precedence operators, such as addition. For example, in 2 + 3
*4, the multiplication, 3
*4, is done first.
* Among operators with the same precedence, associativity, so that the left-most operator must be applied first. For example, in 2 - 3 + 4, the subtraction, 2 - 3, is done first.
Also, formulas may contain:
* Non-commutative operators that must be applied to numbers in the correct order, such as subtraction and division.
* The same symbol used for more than one purpose, such as - for negative numbers and subtraction.
Once a formula is entered, a formula calculator follows the above rules to produce the final result by automatically:
* Analysing the formula and breaking it down into its constituent parts, such as operators, numbers and parentheses.
* Finding both operands of each binary operator.
* Working out the values of these operands.
* Applying the operator to these values, in the correct order so as to allow for non-commutative operators.
* Evaluating the parts of a formula in parentheses first.
* Taking operator precedence and associativity into account.
* Distinguishing between different uses of the same symbol.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Formula calculator」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.